home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 6_6.lha / 6_6 / makefile < prev    next >
Makefile  |  1993-08-08  |  387b  |  22 lines

  1. C= CC -I. -I../../CC
  2. FLAGS=
  3. RROR= ../../error.o
  4.  
  5. ll: tst1
  6.  
  7. st1: tst1.o 6_6sub_eq.o 6_6substr.o makefile
  8. $(CC) $(CFLAGS) tst1.o 6_6sub_eq.o 6_6substr.o -o tst1 $(ERROR)
  9.  
  10. st1.o: tst1.c 6_6.h
  11. _6sub_eq.o: 6_6sub_eq.c 6_6.h
  12. _6substr.o: 6_6substr.c 6_6.h
  13.  
  14. MP= tst1.cmp
  15. UT= tst1.out
  16.  
  17. st1.out: tst1 tst.in ;    tst1 < tst.in > tst1.out
  18.  
  19. est: all $(OUT) $(CMP)
  20. cmp tst1.out tst1.cmp
  21. echo tests done
  22.